<?php defined('IN_PHPCMS') or exit('No permission resources.'); ?>      
    
    <div class="threecate">
    	<div class="about_us">
        	<h6>关于我们</h6>
            <ul>
			<?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=1e70b105eea3a55860bb4130638302a7&action=category&catid=1&num=25&siteid=%24siteid&order=listorder+ASC\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'category')) {$data = $content_tag->category(array('catid'=>'1','siteid'=>$siteid,'order'=>'listorder ASC','limit'=>'25',));}?>
           <?php $n=1;if(is_array($data)) foreach($data AS $r) { ?> 
            	<li><a href="<?php echo $r['url'];?>"><?php echo $r['catname'];?></a></li>
           <?php $n++;}unset($n); ?>
		   <?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
            </ul>
        </div>
         <div class="pro_center">
        	<h6>product center</h6>
			
            <ul>
          <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=ead5d851f0102d20e13181acc1566bf5&action=lists&catid=2&num=16&siteid=%24siteid&order=listorder+ASC&page=%24page\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'lists')) {$pagesize = 16;$page = intval($page) ? intval($page) : 1;if($page<=0){$page=1;}$offset = ($page - 1) * $pagesize;$content_total = $content_tag->count(array('catid'=>'2','siteid'=>$siteid,'order'=>'listorder ASC','limit'=>$offset.",".$pagesize,'action'=>'lists',));$pages = pages($content_total, $page, $pagesize, $urlrule);$data = $content_tag->lists(array('catid'=>'2','siteid'=>$siteid,'order'=>'listorder ASC','limit'=>$offset.",".$pagesize,'action'=>'lists',));}?>
           <?php $n=1;if(is_array($data)) foreach($data AS $r) { ?>
		   <?php $i=0?>
				<?php if($i%4==0) { ?>
			</ul>
			<ul>
            	<li><a href="<?php echo $r['url'];?>"><?php echo $r['title'];?></a></li>
				<?php } else { ?>
            	<li><a href="<?php echo $r['url'];?>"><?php echo $r['title'];?></a></li>
				<?php } ?>
		   
		   <?php $i++?>
		   <?php $n++;}unset($n); ?>
		   <?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?> 
            </ul>
        </div>
  <!--      <div class="contact_us">
        	<h6>Contact Us</h6>
            <ul>
            	<li><a href="#">Contact Info</a></li>
            	<li><a href="#">Request A Quote</a></li>
            	<li><a href="#">E-Mail</a></li>
            	<li><a href="#">Sitemap</a></li>
            </ul>
        </div>-->
    </div>
    
    
    <div class="footer">
        <div class="foot_c">
        <br /><br />
            <p><?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"block\" data=\"op=block&tag_md5=918c3a888216dd684a45c72a2d44406f&pos=copy_right\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">添加碎片</a>";}$block_tag = pc_base::load_app_class('block_tag', 'block');echo $block_tag->pc_tag(array('pos'=>'copy_right',));?><?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?></p>
        </div>
    </div>
</body>
</html>
